#pragma once
#include "ireporttarget.h"
//#include <hpdf.h>

class cReportTargetPDF:public IReportTarget
{
public:
	cReportTargetPDF(const char* FileName);
	~cReportTargetPDF(void);

	int DrawText(const cText* Text);
	int AddNewPage(void);
	int DrawLine(int x1,int y1, int x2,int y2);
	
private:

//	HPDF_Doc pdf;


//	static void error_handler (HPDF_STATUS error_no, HPDF_STATUS detail_no, void *user_data);
	const char* FileName;
};
